/*
 * VANET simulator
 * 01-12-2010, Johan Lukkien and Tse
 *
 * This program simulates a collection of nodes with a periodic broadcasting behavior.
 */

#include <stdio.h>
#include <stdlib.h>
#include "random.h"
#include <string.h>

typedef struct {
  double 	antennaHeight,
  	        baseFrequency; 
} rfModelParams;

double twoRayGround(double Pt, double distance);
double Friis(double Pt, double Gt, double Gr, double lambda, double L, double d);
double TwoRay(double Pt, double Gt, double Gr, double ht, double hr, double L, double d, double lambda);
double getDist(double Pr, double Pt, double Gt, double Gr, double hr, double ht, double L, double lambda);
double getDistFriis(double Pr, double Pt, double Gt, double Gr, double lambda);
